<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><{$shop.company}> - <{$setting.title}></title>
		<meta content="<{$setting.keywords}>"  name="keywords"/>
		<meta content="<{$setting.description}>" name="description"/>
		<script type="text/javascript" src="<{$weburl}>/static/js/jquery.js"></script>
		<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/shop.css" rel="stylesheet" type="text/css"/>
		<style>#allmap {width:220px;height:220px;overflow: hidden;margin:0;}</style>
	</head>
	<body>
		<div class="nav">您现在的位置：<a href="<{$weburl}>/index.php">首页</a> <span>></span> <{$shop.company}></a></div>
		<!--内容-->
		<div class="main mt10 clearfix">
			<div class="main_left">
				<div class="shopbox">
					<h3>在售车源</h3>
					<div class="box"> 
						<ul class="bigcarlist clearfix">
							<{foreach from=$carslist key=skey item=cars_list}>
							<li <{if ($skey+1)%3<>0}>class="bbg"<{/if}>>
								<a href="<{$cars_list.p_url}>" target="_blank"><img src="<{$cars_list.p_mainpic}>"/></a>
								<p class="carname"><span class="orange01 fb fr"><{$cars_list.p_price}>万</span><a href="<{$cars_list.p_url}>" target="_blank"><{$cars_list.p_shortname}></a></p>
								<p><{$cars_list.p_gas}>L &nbsp;&nbsp;<{$cars_list.p_transmission}></p>
								<p><{$cars_list.p_year}>年<{$cars_list.p_month}>月上牌&nbsp;&nbsp;<{$cars_list.p_color}></p>
								<p><span class="gray01">发布时间：<{$cars_list.listtime}></span></p>
							</li>
							<{/foreach}>
						</ul>
					</div>
					<div class="page_list"><{$button_basic}></div>
				</div>
			</div>
			<div class="main_right">
				<div class="shopbox">
					<h3>企业名片</h3>
					<div class="box2">
						<p class="f14 fb"><{$shop.company}></p>
						<p class="mt10">联系人：<{$shop.nicname}></p>
						<p class="mt10">手机：<{$shop.mobilephone}></p>
						<p class="mt10">地址：<{$shop.address}></p>
					</div>
				</div>
				<{if $shop.isshop==1}>
				<div class="commonbox02 mt10">
					<h3>商家所在位置</h3>
					<div class="box">
						<div id="allmap" class="mt10"></div>
					</div>
				</div>
				<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.4"></script>
				<script type="text/javascript">
				// 百度地图API功能
				var map = new BMap.Map("allmap");
				var point = new BMap.Point(116.331398,39.897445);
				map.centerAndZoom(point,12);
				// 创建地址解析器实例
				var myGeo = new BMap.Geocoder();
				// 将地址解析结果显示在地图上,并调整地图视野
				myGeo.getPoint("<{$shop.address}>", function(point){
				  if (point) {
					map.centerAndZoom(point, 16);
					map.addOverlay(new BMap.Marker(point));
				  }
				}, "");
				</script>
				<{/if}>
			</div>
		</div>
		<!--版权-->
		<{include file="default/`$setting.templates`/foot.html"}>
	</body>
</html>
